home *** CD-ROM | disk | FTP | other *** search
/ PCNet 2003 October / PCNET_CD_2003_10_1.iso / surpriz / bubblewrap.swf / scripts / DefineButton2_165 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2003-08-19  |  287 b   |  20 lines

  1. on(release){
  2.    if(numpopped != numpoppable)
  3.    {
  4.       _root.gotoAndStop(1);
  5.       enableSheet(true);
  6.       if(numpopped > 0)
  7.       {
  8.          unpause();
  9.       }
  10.       else
  11.       {
  12.          restartTimer();
  13.       }
  14.    }
  15.    else
  16.    {
  17.       _root.gotoAndStop(5);
  18.    }
  19. }
  20.